package com.mh.common.enums;

//表示用户状态的枚举类
public enum SysUserStatus {
    OK("0","正常"),
    DISABLE("1","停用"),
    DELETED("2","删除");

    private final String code;
    private final String info;

    //有参,get()-->不能有空参,set()
    SysUserStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
